package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.yeying.YeYingData;
import com.dwxt.cdms.entity.yeying.YeYingDataExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YeYingDataMapper {
    int countByExample(YeYingDataExample example);

    int deleteByExample(YeYingDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(YeYingData record);

    int insertSelective(YeYingData record);

    List<YeYingData> selectByExample(YeYingDataExample example);

    YeYingData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") YeYingData record, @Param("example") YeYingDataExample example);

    int updateByExample(@Param("record") YeYingData record, @Param("example") YeYingDataExample example);

    int updateByPrimaryKeySelective(YeYingData record);

    int updateByPrimaryKey(YeYingData record);

    List<YeYingData> selectYeYingDataPageGroup(String name, Integer stationId);

    List<YeYingData> selectPageByCustomerId(Integer customerId);

    YeYingData selectYeYingDataById(Integer id);
}